home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c++-part2 / 10435 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  610 b 

  1. Path: calvin.cs.ucsb.edu!not-for-mail
  2. From: kimhy@cs.ucsb.edu (Hyun J. Kim)
  3. Newsgroups: comp.lang.c++
  4. Subject: realloc() -- is there a method for this in c++
  5. Date: 7 Mar 1996 00:10:56 -0800
  6. Organization: Computer Science, UCSB
  7. Message-ID: <4hm5mg$lgl@calvin.cs.ucsb.edu>
  8. NNTP-Posting-Host: calvin.cs.ucsb.edu
  9. Keywords: dynamic
  10.  
  11. Hi,
  12.  
  13. I am trying to change the size of an array dynamically.  In C, using realloc() 
  14. this is possible.  However, in C++, I am not sure if this is possible using 
  15. the new operator.  If you have any insight to this problem, please drop me an 
  16. e-mail.
  17.  
  18. Thanks
  19.  
  20. Hyun
  21. kimhy@cs.ucsb.edu
  22.  
  23.